//
//  ProjectConfig.h
//  QinjinProject
//
//  Created by Michael on 14-9-12.
//  Copyright (c) 2014年 ___Michael___. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HttpClient.h"
#import <MapKit/MapKit.h>
#import <StoreKit/StoreKit.h>

#define dataversion_FILENAME    @"dataversion"
#define LOCALDATA_FILENAME    @"localdata"

#define USERPROFILE_FILENAME  @"user_profile"

//userdickey
#define USER_token           @"token"
#define USER_tel             @"tel"
#define APPOINTtableName        @"booking_file"

@interface ProjectConfig : NSObject <UIAlertViewDelegate,LoginViewControllerDelegate>


//当前用户数据
@property(nonatomic,strong)NSMutableDictionary * dicLocaldata;
@property(nonatomic,strong)NSMutableDictionary * dicUserData;

-(void)initLocaldata;

-(void)getLocaldata:(NSString *)strUrl version:(NSMutableDictionary *)versionData;//获取本地数据

-(void)readFromUserDataFile;

-(BOOL)needLogin;

-(void)writeToFile;

-(BOOL)isLogin;


@end
